package com.example.weather.main

import android.util.SparseArray
import com.alibaba.android.arouter.facade.annotation.Route
import com.example.library_base.base.BaseActivity
import com.example.library_base.router.WeatherRouterPath
import com.example.weather.BR
import com.example.weather.R
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject

@AndroidEntryPoint
@Route(path = WeatherRouterPath.WEATHER_MAIN)
class MainActivity : BaseActivity(R.layout.activity_main) {

    @Inject
    lateinit var eventHandler: MainEventHandler

    override fun getVariableSparseArray(): SparseArray<Any> {
        val variables = SparseArray<Any>()
        variables.put(BR.event, eventHandler)
        return variables
    }

    override fun initTitleBar() {

    }

    override fun initView() {

    }

    override fun requestData() {

    }
}